package com.supcalls.factoryMethod.staticFactory;

import com.supcalls.factoryMethod.ordinary.MailSender;
import com.supcalls.factoryMethod.ordinary.Sender;
import com.supcalls.factoryMethod.ordinary.SmsSender;

public class SendFactory {

    public static Sender produceMail(){
        return new MailSender();
    }
    public static Sender produceSms(){
        return new SmsSender();
    }
}

